package com.acme.bankapp.domain.bank;

import java.util.ArrayList;

public class Bank {
	private ArrayList<Client> clients = new ArrayList<>();
	
		Bank(){
			Client[] clientsArray = {new Client("Ivanova", Gender.FEMALE, 100),
					new Client("Petrova", Gender.FEMALE, 110),
					new Client("Sidorova", Gender.FEMALE, 120),
					new Client("Pavlova", Gender.FEMALE, 130),
					new Client("Kuznezova", Gender.FEMALE, 140),
					new Client("Ivanov", Gender.MALE, 100, 10),
					new Client("Petrov", Gender.MALE, 120, 30),
					new Client("Sidorov", Gender.MALE, 140, 10),
					new Client("Pavlov", Gender.MALE, 120, 15),
					new Client("Kuznezov", Gender.MALE, 160, 90)
			};
			for(Client client : clientsArray){
				clients.add(client);
			}
		}		
		
		public ArrayList<Client> getClients(){
			return clients;
		}
		
		public void setClients(Client client){
			clients.add(client);
		}
}
